<?php
$this->breadcrumbs=array(
	'Admin Panel'=>$this->createUrl( '/adminpanel'),
	'Rental Properties'=>array('/adminpanel/rentalproperty/'),
	$model->idRentalProperty=>array('/adminpanel/rentalproperty/view','id'=>$model->idRentalProperty),
	$model->id,
);

//$this->menu=array(
	/*array('label'=>'List Rentalunit', 'url'=>array('index')),
	array('label'=>'Create Rentalunit', 'url'=>array('create')),
	array('label'=>'Update Rentalunit', 'url'=>array('update', 'id'=>$model->id)),*/
	//array('label'=>'Delete Rentalunit', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	/*array('label'=>'Manage Rentalunit', 'url'=>array('admin')),*/
//);
?>

<h1>View Rental Unit #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		array(
			'label'=>'IdRentalProperty',
			'type'=>'raw',
			'value' =>CHtml::link(CHtml::encode($model->idRentalProperty),
                                 array('/adminpanel/rentalproperty/view','id'=>$model->idRentalProperty)),
		),
		'UnitNumber',
		'SoftwareUnitCode',
		'RentalAmount',
		'SubsidizedRent',
		'IncomeQualifiedUnit',
		'WaterSewerIncluded',
		'HeatIncluded',
		'ElectricIncluded',
	),
)); ?>
